'''
Created on Oct 12, 2013

@author: priya
'''

class Document(object):
    '''
    classdocs
    '''
    sentenceArray = []


    def __init__(self,params):
        '''
        Constructor
        '''
        
    def addSentence(self,sentence):
        self.sentenceArray.add(sentence)
        
    def getDocMentions(self):
        mentionsArray = []
        for sentence in self.sentenceArray:
            mentionsArray = mentionsArray + sentence.mentionsArray
        return mentionsArray
            